{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}\\file\UsersW$\wrr15\Home\My Documents\My Files\ANDY KIM\REVISION FOR WORLD DEVELOPMENT\DATA AND CODE\Part1.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}18 Jul 2016, 21:55:04
{txt}
{com}. 
. 
. //CONVERTING TSTATS TO PARTICAL CORRELATION COEFFICIENTS, r
. gen eff = sqrt(tstat^2/(tstat^2+df))
{txt}
{com}. gen r = eff if positive == 1
{txt}(32 missing values generated)

{com}. replace r = -1*eff if r == .
{txt}(32 real changes made)

{com}. gen varR = (1-r^2)/df
{txt}
{com}. gen seR = sqrt(varR)
{txt}
{com}. gen pcc = r
{txt}
{com}. 
. // RECODING VARIABLES
. // The first thing we do is generate some new variables
. // because some of our old study characteristics had too few
. // observations
. gen endog = (tsls == 1 | gmm == 1)
{txt}
{com}. gen se_notols = (se_het == 1 | se_other == 1)
{txt}
{com}. gen fdigdp = fditype0
{txt}
{com}. 
. 
. *--------------------------------------------------------------------------------*
. *   TABLE 2: Selected summary statistics                              *
. *--------------------------------------------------------------------------------*
. 
. summ tstat pcc seR pubyear datayear span initial journalrank

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}tstat {c |}{res}        280    2.448852    2.763881  -9.315183    14.1221
{txt}{space 9}pcc {c |}{res}        280     .230644    .2076011  -.3770838   .8047737
{txt}{space 9}seR {c |}{res}        280    .0995023    .0616889   .0321781   .4014283
{txt}{space 5}pubyear {c |}{res}        280    2006.432    4.027998       2001       2015
{txt}{space 4}datayear {c |}{res}        280    1994.984    3.473493       1985     2004.5
{txt}{hline 13}{c +}{hline 57}
{space 8}span {c |}{res}        280    13.79643    7.225353          4         33
{txt}{space 5}initial {c |}{res}        280    .6107143    .4884613          0          1
{txt}{space 1}journalrank {c |}{res}        280    .2563857    .3878604          0      1.265
{txt}
{com}. 
. summ pcc if pubyear < 2006

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}         99    .3081376    .1611278   .0553833   .8047737
{txt}
{com}. summ pcc if pubyear >= 2006

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}        181     .188258    .2180776  -.3770838   .7230688
{txt}
{com}. 
. summ pcc if cjournal == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}         53    .2050515    .2407698  -.1280994   .7717195
{txt}
{com}. summ pcc if ejournal == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}        116     .257024    .1951053  -.3770838   .8047737
{txt}
{com}. summ pcc if notjournal == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}        111    .2152955    .2020525  -.3162823   .6108406
{txt}
{com}. 
. summ pcc if cs == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}         62    .3808645    .1654608   .0158277   .8047737
{txt}
{com}. sum pcc if panel_nofe == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}         66    .1803426    .1967928  -.3770838   .7095787
{txt}
{com}. summ pcc if panel_fe == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}        137    .1665216     .177925  -.3162823   .6754179
{txt}
{com}. summ pcc if ts == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}         15      .41671    .2511416  -.1490657   .7717195
{txt}
{com}. 
. summ pcc if ols == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}        204    .2444892    .2129023  -.3770838   .8047737
{txt}
{com}. summ pcc if gls == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}         14    .2417075    .1501332  -.0957047   .4390386
{txt}
{com}. summ pcc if tsls == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}         27    .2697873    .2315378  -.1280994   .5766062
{txt}
{com}. summ pcc if gmm == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 9}pcc {c |}{res}         35    .1153244    .1315557  -.3162823    .457918
{txt}
{com}. 
. 
. 
. *--------------------------------------------------------------------------------*
. *   FIGURE 1: Histograms of tstat and PCC                                                                  *
. *--------------------------------------------------------------------------------*
. histogram tstat, bin(20)
{txt}(bin={res}20{txt}, start={res}-9.3151832{txt}, width={res}1.1718642{txt})
{res}{txt}
{com}. graph save histogram(tstat), replace
{res}{txt}(file histogram(tstat).gph saved)

{com}. 
. histogram pcc, bin(20) 
{txt}(bin={res}20{txt}, start={res}-.37708384{txt}, width={res}.05909288{txt})
{res}{txt}
{com}. graph save histogram(pcc), replace
{res}{txt}(file histogram(pcc).gph saved)

{com}. 
. 
. 
. *--------------------------------------------------------------------------------*
. *   FIGURE 2: Forest Plot by Study                                                                 *
. *--------------------------------------------------------------------------------*
. 
. /*
> //FORREST PLOT BY STUDY (Fixed Effects)
> gen fevarR = varR
> gen feweightR = 1/fevarR
> gen rR = r*feweightR
> collapse (sum) rR feweightR, by (id)
> gen avgR = rR/feweightR
> gen avgsterrR = sqrt(1/feweightR)
> sort id
> metan avgR avgsterrR, fixed lcols(id) nobox
> graph save forrest, replace 
> */
. 
. *--------------------------------------------------------------------------------*
. *   FIGURE 3A: Funnel Plot for individual estimates                               *
. *--------------------------------------------------------------------------------*
. //FUNNEL GRAPH
. metafunnel r seR, ylabel(#8)  //name(funnel, replace) nolines

{txt}note: default data input format (theta, se_theta) assumed
{res}{txt}
{com}. graph save funnel1, replace
{res}{txt}(file funnel1.gph saved)

{com}. //NOTE: No evidence of asymmetry in estimates, hence no evidence of publication bias
. //NOTE: But much evidence of random effects!
. 
. *--------------------------------------------------------------------------------*
. *   FIGURE 3B: Funnel Plot for study means                           *
. *--------------------------------------------------------------------------------*
. //FUNNEL GRAPH
. by id, sort: egen meanr = mean(r)
{txt}
{com}. by id, sort: egen meanseR = mean(seR)
{txt}
{com}. metafunnel meanr meanseR, ylabel(#8)  //name(funnel, replace) nolines

{txt}note: default data input format (theta, se_theta) assumed
{res}{txt}
{com}. graph save funnel2, replace
{res}{txt}(file funnel2.gph saved)

{com}. //NOTE: No evidence of asymmetry in estimates, hence no evidence of publication bias
. //NOTE: But much evidence of random effects!
. 
. */
. 
. // Generating transformed variables for FE and RE
. gen feprecisionR = 1/seR
{txt}
{com}. gen fetstatR = r/seR
{txt}
{com}. 
. *--------------------------------------------------------------------------------*
. *   TABLE 3: FAT/PET                                                             *
. *--------------------------------------------------------------------------------*
. 
. // Fixed Effects with SE
. //NOTE: If the coefficient on the constant term is significant, that 
. //is evidence of publication bias
. // Fixed Effects
. //This regression gives equal weight to each observation
. // TABLE 3 - Column 1
. regress fetstatR feprecisionR, vce(cluster id)

{txt}Linear regression                               Number of obs     = {res}       280
                                                {txt}F(1, 36)          =  {res}     0.15
                                                {txt}Prob > F          = {res}    0.7025
                                                {txt}R-squared         = {res}    0.0050
                                                {txt}Root MSE          =    {res} 2.7363

{txt}{ralign 78:(Std. Err. adjusted for {res:37} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    fetstatR{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
feprecisionR {c |}{col 14}{res}{space 2} .0323019{col 26}{space 2}  .083895{col 37}{space 1}    0.39{col 46}{space 3}0.702{col 54}{space 4}-.1378451{col 67}{space 3} .2024488
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 2.049734{col 26}{space 2} .8350411{col 37}{space 1}    2.45{col 46}{space 3}0.019{col 54}{space 4} .3561921{col 67}{space 3} 3.743276
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. //This regression gives equal weight to each study
. // TABLE 3 - Column 2
. regress fetstatR feprecisionR [pweight = weight], vce(cluster id)
{txt}(sum of wgt is   3.7000e+01)

Linear regression                               Number of obs     = {res}       280
                                                {txt}F(1, 36)          =  {res}     1.45
                                                {txt}Prob > F          = {res}    0.2362
                                                {txt}R-squared         = {res}    0.0467
                                                {txt}Root MSE          =    {res} 2.7989

{txt}{ralign 78:(Std. Err. adjusted for {res:37} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    fetstatR{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
feprecisionR {c |}{col 14}{res}{space 2} .1051197{col 26}{space 2} .0872614{col 37}{space 1}    1.20{col 46}{space 3}0.236{col 54}{space 4}-.0718546{col 67}{space 3}  .282094
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1.620871{col 26}{space 2} .7787935{col 37}{space 1}    2.08{col 46}{space 3}0.045{col 54}{space 4} .0414043{col 67}{space 3} 3.200337
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. // Fixed Effects without SE
. //NOTE: If the coefficient on the constant term is significant, that 
. //is evidence of publication bias
. // Fixed Effects
. //This regression gives equal weight to each observation
. // TABLE 3 - Column 5
. regress fetstatR feprecisionR, noc vce(cluster id)

{txt}Linear regression                               Number of obs     = {res}       280
                                                {txt}F(1, 36)          =  {res}    15.82
                                                {txt}Prob > F          = {res}    0.0003
                                                {txt}R-squared         = {res}    0.4014
                                                {txt}Root MSE          =    {res} 2.8594

{txt}{ralign 78:(Std. Err. adjusted for {res:37} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    fetstatR{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
feprecisionR {c |}{col 14}{res}{space 2} .1608363{col 26}{space 2} .0404407{col 37}{space 1}    3.98{col 46}{space 3}0.000{col 54}{space 4} .0788187{col 67}{space 3} .2428538
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. //This regression gives equal weight to each study
. // TABLE 3 - Column 6
. regress fetstatR feprecisionR [pweight = weight], noc vce(cluster id)
{txt}(sum of wgt is   3.7000e+01)

Linear regression                               Number of obs     = {res}       280
                                                {txt}F(1, 36)          =  {res}    25.49
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.4786
                                                {txt}Root MSE          =    {res} 2.8935

{txt}{ralign 78:(Std. Err. adjusted for {res:37} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    fetstatR{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
feprecisionR {c |}{col 14}{res}{space 2} .2185361{col 26}{space 2} .0432831{col 37}{space 1}    5.05{col 46}{space 3}0.000{col 54}{space 4} .1307539{col 67}{space 3} .3063182
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. 
. metan r seR, random

{txt}{col 12}Study{col 22}|{col 24}{col 28}ES{col 34}[95% Conf. Interval]{col 59}% Weight
---------------------+---------------------------------------------------
1{col 22}|{res}  0.698{col 35}  0.368     1.029{col 60}  0.25
{txt}2{col 22}|{res}  0.261{col 35}  0.136     0.387{col 60}  0.41
{txt}3{col 22}|{res}  0.277{col 35}  0.151     0.402{col 60}  0.41
{txt}4{col 22}|{res}  0.599{col 35}  0.435     0.764{col 60}  0.38
{txt}5{col 22}|{res}  0.352{col 35}  0.128     0.576{col 60}  0.33
{txt}6{col 22}|{res}  0.233{col 35} -0.015     0.481{col 60}  0.31
{txt}7{col 22}|{res}  0.232{col 35}  0.048     0.417{col 60}  0.36
{txt}8{col 22}|{res}  0.127{col 35} -0.055     0.308{col 60}  0.37
{txt}9{col 22}|{res}  0.302{col 35}  0.122     0.483{col 60}  0.37
{txt}10{col 22}|{res}  0.294{col 35}  0.119     0.469{col 60}  0.37
{txt}11{col 22}|{res}  0.275{col 35}  0.093     0.457{col 60}  0.37
{txt}12{col 22}|{res}  0.083{col 35} -0.099     0.265{col 60}  0.37
{txt}13{col 22}|{res}  0.430{col 35}  0.258     0.601{col 60}  0.37
{txt}14{col 22}|{res}  0.079{col 35} -0.103     0.261{col 60}  0.37
{txt}15{col 22}|{res}  0.494{col 35}  0.329     0.658{col 60}  0.38
{txt}16{col 22}|{res}  0.059{col 35} -0.124     0.241{col 60}  0.37
{txt}17{col 22}|{res}  0.351{col 35}  0.174     0.529{col 60}  0.37
{txt}18{col 22}|{res}  0.059{col 35} -0.124     0.241{col 60}  0.37
{txt}19{col 22}|{res}  0.110{col 35} -0.163     0.383{col 60}  0.29
{txt}20{col 22}|{res}  0.149{col 35} -0.123     0.420{col 60}  0.29
{txt}21{col 22}|{res}  0.158{col 35} -0.119     0.434{col 60}  0.29
{txt}22{col 22}|{res}  0.535{col 35}  0.145     0.926{col 60}  0.21
{txt}23{col 22}|{res}  0.772{col 35}  0.478     1.066{col 60}  0.28
{txt}24{col 22}|{res}  0.675{col 35}  0.557     0.794{col 60}  0.41
{txt}25{col 22}|{res}  0.617{col 35}  0.129     1.105{col 60}  0.16
{txt}26{col 22}|{res}  0.092{col 35} -0.005     0.189{col 60}  0.43
{txt}27{col 22}|{res}  0.023{col 35} -0.077     0.124{col 60}  0.43
{txt}28{col 22}|{res} -0.002{col 35} -0.103     0.098{col 60}  0.43
{txt}29{col 22}|{res}  0.003{col 35} -0.097     0.103{col 60}  0.43
{txt}30{col 22}|{res} -0.029{col 35} -0.130     0.071{col 60}  0.43
{txt}31{col 22}|{res} -0.081{col 35} -0.185     0.023{col 60}  0.42
{txt}32{col 22}|{res} -0.128{col 35} -0.231    -0.025{col 60}  0.42
{txt}33{col 22}|{res} -0.128{col 35} -0.231    -0.025{col 60}  0.42
{txt}34{col 22}|{res}  0.014{col 35} -0.088     0.116{col 60}  0.42
{txt}35{col 22}|{res}  0.016{col 35} -0.086     0.118{col 60}  0.42
{txt}36{col 22}|{res}  0.078{col 35} -0.019     0.175{col 60}  0.43
{txt}37{col 22}|{res}  0.066{col 35} -0.032     0.163{col 60}  0.43
{txt}38{col 22}|{res} -0.072{col 35} -0.177     0.033{col 60}  0.42
{txt}39{col 22}|{res} -0.072{col 35} -0.177     0.034{col 60}  0.42
{txt}40{col 22}|{res} -0.035{col 35} -0.136     0.066{col 60}  0.42
{txt}41{col 22}|{res} -0.044{col 35} -0.145     0.057{col 60}  0.42
{txt}42{col 22}|{res}  0.293{col 35}  0.149     0.438{col 60}  0.40
{txt}43{col 22}|{res}  0.086{col 35} -0.078     0.251{col 60}  0.38
{txt}44{col 22}|{res}  0.495{col 35}  0.352     0.638{col 60}  0.40
{txt}45{col 22}|{res}  0.620{col 35}  0.430     0.809{col 60}  0.36
{txt}46{col 22}|{res}  0.637{col 35}  0.457     0.816{col 60}  0.37
{txt}47{col 22}|{res}  0.081{col 35} -0.074     0.235{col 60}  0.39
{txt}48{col 22}|{res}  0.148{col 35} -0.005     0.301{col 60}  0.39
{txt}49{col 22}|{res}  0.140{col 35} -0.041     0.321{col 60}  0.37
{txt}50{col 22}|{res}  0.137{col 35} -0.045     0.318{col 60}  0.37
{txt}51{col 22}|{res} -0.027{col 35} -0.190     0.135{col 60}  0.38
{txt}52{col 22}|{res} -0.024{col 35} -0.187     0.139{col 60}  0.38
{txt}53{col 22}|{res}  0.361{col 35} -0.012     0.734{col 60}  0.22
{txt}54{col 22}|{res}  0.444{col 35}  0.333     0.554{col 60}  0.42
{txt}55{col 22}|{res}  0.305{col 35}  0.187     0.423{col 60}  0.41
{txt}56{col 22}|{res}  0.354{col 35}  0.243     0.465{col 60}  0.42
{txt}57{col 22}|{res}  0.306{col 35}  0.188     0.424{col 60}  0.41
{txt}58{col 22}|{res}  0.220{col 35}  0.099     0.341{col 60}  0.41
{txt}59{col 22}|{res}  0.255{col 35}  0.140     0.371{col 60}  0.42
{txt}60{col 22}|{res}  0.230{col 35}  0.110     0.351{col 60}  0.41
{txt}61{col 22}|{res}  0.264{col 35}  0.157     0.371{col 60}  0.42
{txt}62{col 22}|{res}  0.331{col 35}  0.227     0.436{col 60}  0.42
{txt}63{col 22}|{res}  0.329{col 35}  0.225     0.434{col 60}  0.42
{txt}64{col 22}|{res}  0.264{col 35}  0.157     0.371{col 60}  0.42
{txt}65{col 22}|{res}  0.191{col 35}  0.083     0.299{col 60}  0.42
{txt}66{col 22}|{res}  0.214{col 35} -0.177     0.605{col 60}  0.21
{txt}67{col 22}|{res}  0.220{col 35}  0.107     0.334{col 60}  0.42
{txt}68{col 22}|{res}  0.247{col 35}  0.070     0.424{col 60}  0.37
{txt}69{col 22}|{res}  0.493{col 35}  0.308     0.678{col 60}  0.36
{txt}70{col 22}|{res}  0.176{col 35} -0.047     0.399{col 60}  0.33
{txt}71{col 22}|{res}  0.254{col 35}  0.085     0.423{col 60}  0.38
{txt}72{col 22}|{res}  0.462{col 35}  0.282     0.642{col 60}  0.37
{txt}73{col 22}|{res}  0.208{col 35} -0.004     0.419{col 60}  0.34
{txt}74{col 22}|{res}  0.251{col 35}  0.082     0.420{col 60}  0.38
{txt}75{col 22}|{res}  0.441{col 35}  0.259     0.624{col 60}  0.37
{txt}76{col 22}|{res}  0.207{col 35} -0.005     0.418{col 60}  0.34
{txt}77{col 22}|{res}  0.350{col 35} -0.071     0.771{col 60}  0.19
{txt}78{col 22}|{res}  0.521{col 35}  0.137     0.905{col 60}  0.22
{txt}79{col 22}|{res}  0.491{col 35}  0.100     0.883{col 60}  0.21
{txt}80{col 22}|{res}  0.318{col 35}  0.103     0.532{col 60}  0.34
{txt}81{col 22}|{res}  0.347{col 35} -0.028     0.722{col 60}  0.22
{txt}82{col 22}|{res}  0.650{col 35}  0.346     0.954{col 60}  0.27
{txt}83{col 22}|{res}  0.246{col 35}  0.142     0.351{col 60}  0.42
{txt}84{col 22}|{res}  0.276{col 35}  0.172     0.380{col 60}  0.42
{txt}85{col 22}|{res}  0.805{col 35}  0.567     1.042{col 60}  0.32
{txt}86{col 22}|{res}  0.657{col 35}  0.342     0.972{col 60}  0.26
{txt}87{col 22}|{res}  0.169{col 35} -0.003     0.341{col 60}  0.37
{txt}88{col 22}|{res}  0.248{col 35}  0.129     0.366{col 60}  0.41
{txt}89{col 22}|{res}  0.262{col 35}  0.143     0.381{col 60}  0.41
{txt}90{col 22}|{res}  0.577{col 35}  0.419     0.736{col 60}  0.38
{txt}91{col 22}|{res}  0.335{col 35}  0.122     0.548{col 60}  0.34
{txt}92{col 22}|{res}  0.221{col 35} -0.014     0.456{col 60}  0.32
{txt}93{col 22}|{res}  0.220{col 35}  0.045     0.394{col 60}  0.37
{txt}94{col 22}|{res}  0.120{col 35} -0.052     0.291{col 60}  0.37
{txt}95{col 22}|{res}  0.287{col 35}  0.115     0.458{col 60}  0.37
{txt}96{col 22}|{res}  0.279{col 35}  0.113     0.445{col 60}  0.38
{txt}97{col 22}|{res}  0.261{col 35}  0.088     0.434{col 60}  0.37
{txt}98{col 22}|{res}  0.078{col 35} -0.094     0.250{col 60}  0.37
{txt}99{col 22}|{res}  0.410{col 35}  0.246     0.573{col 60}  0.38
{txt}100{col 22}|{res}  0.075{col 35} -0.097     0.247{col 60}  0.37
{txt}101{col 22}|{res}  0.472{col 35}  0.315     0.630{col 60}  0.38
{txt}102{col 22}|{res}  0.055{col 35} -0.117     0.228{col 60}  0.37
{txt}103{col 22}|{res}  0.334{col 35}  0.165     0.503{col 60}  0.38
{txt}104{col 22}|{res}  0.055{col 35} -0.117     0.228{col 60}  0.37
{txt}105{col 22}|{res}  0.297{col 35}  0.162     0.431{col 60}  0.40
{txt}106{col 22}|{res}  0.291{col 35}  0.157     0.425{col 60}  0.40
{txt}107{col 22}|{res}  0.270{col 35}  0.133     0.406{col 60}  0.40
{txt}108{col 22}|{res}  0.271{col 35}  0.135     0.407{col 60}  0.40
{txt}109{col 22}|{res}  0.248{col 35}  0.111     0.384{col 60}  0.40
{txt}110{col 22}|{res}  0.258{col 35}  0.122     0.394{col 60}  0.40
{txt}111{col 22}|{res}  0.230{col 35}  0.092     0.368{col 60}  0.40
{txt}112{col 22}|{res}  0.215{col 35}  0.076     0.354{col 60}  0.40
{txt}113{col 22}|{res}  0.230{col 35}  0.092     0.369{col 60}  0.40
{txt}114{col 22}|{res}  0.294{col 35}  0.159     0.429{col 60}  0.40
{txt}115{col 22}|{res}  0.255{col 35}  0.118     0.392{col 60}  0.40
{txt}116{col 22}|{res}  0.322{col 35}  0.188     0.456{col 60}  0.40
{txt}117{col 22}|{res}  0.582{col 35}  0.281     0.883{col 60}  0.27
{txt}118{col 22}|{res}  0.640{col 35}  0.325     0.954{col 60}  0.26
{txt}119{col 22}|{res}  0.509{col 35}  0.149     0.868{col 60}  0.23
{txt}120{col 22}|{res}  0.585{col 35}  0.246     0.924{col 60}  0.24
{txt}121{col 22}|{res}  0.143{col 35} -0.358     0.643{col 60}  0.16
{txt}122{col 22}|{res}  0.441{col 35} -0.346     1.228{col 60}  0.08
{txt}123{col 22}|{res}  0.723{col 35}  0.170     1.276{col 60}  0.14
{txt}124{col 22}|{res}  0.184{col 35}  0.086     0.283{col 60}  0.43
{txt}125{col 22}|{res}  0.208{col 35}  0.106     0.309{col 60}  0.42
{txt}126{col 22}|{res}  0.199{col 35}  0.093     0.306{col 60}  0.42
{txt}127{col 22}|{res}  0.201{col 35}  0.103     0.300{col 60}  0.43
{txt}128{col 22}|{res}  0.164{col 35}  0.057     0.272{col 60}  0.42
{txt}129{col 22}|{res}  0.210{col 35}  0.107     0.313{col 60}  0.42
{txt}130{col 22}|{res}  0.080{col 35} -0.025     0.185{col 60}  0.42
{txt}131{col 22}|{res}  0.159{col 35}  0.055     0.263{col 60}  0.42
{txt}132{col 22}|{res}  0.193{col 35}  0.090     0.296{col 60}  0.42
{txt}133{col 22}|{res}  0.426{col 35}  0.064     0.788{col 60}  0.23
{txt}134{col 22}|{res}  0.232{col 35} -0.150     0.613{col 60}  0.22
{txt}135{col 22}|{res}  0.191{col 35} -0.202     0.583{col 60}  0.21
{txt}136{col 22}|{res}  0.099{col 35} -0.299     0.497{col 60}  0.21
{txt}137{col 22}|{res}  0.199{col 35} -0.193     0.591{col 60}  0.21
{txt}138{col 22}|{res}  0.233{col 35} -0.156     0.622{col 60}  0.21
{txt}139{col 22}|{res}  0.095{col 35} -0.342     0.531{col 60}  0.19
{txt}140{col 22}|{res}  0.016{col 35} -0.434     0.465{col 60}  0.18
{txt}141{col 22}|{res}  0.415{col 35}  0.277     0.554{col 60}  0.40
{txt}142{col 22}|{res}  0.410{col 35}  0.270     0.549{col 60}  0.40
{txt}143{col 22}|{res}  0.390{col 35}  0.153     0.627{col 60}  0.32
{txt}144{col 22}|{res}  0.710{col 35}  0.506     0.913{col 60}  0.35
{txt}145{col 22}|{res}  0.247{col 35} -0.053     0.547{col 60}  0.27
{txt}146{col 22}|{res}  0.454{col 35}  0.289     0.619{col 60}  0.38
{txt}147{col 22}|{res}  0.400{col 35}  0.225     0.574{col 60}  0.37
{txt}148{col 22}|{res}  0.398{col 35}  0.213     0.584{col 60}  0.36
{txt}149{col 22}|{res}  0.161{col 35} -0.283     0.605{col 60}  0.18
{txt}150{col 22}|{res} -0.149{col 35} -0.634     0.335{col 60}  0.16
{txt}151{col 22}|{res}  0.175{col 35} -0.307     0.657{col 60}  0.16
{txt}152{col 22}|{res}  0.006{col 35} -0.059     0.071{col 60}  0.44
{txt}153{col 22}|{res}  0.187{col 35}  0.123     0.250{col 60}  0.44
{txt}154{col 22}|{res} -0.227{col 35} -0.290    -0.164{col 60}  0.44
{txt}155{col 22}|{res}  0.156{col 35}  0.051     0.262{col 60}  0.42
{txt}156{col 22}|{res} -0.005{col 35} -0.112     0.102{col 60}  0.42
{txt}157{col 22}|{res} -0.034{col 35} -0.140     0.073{col 60}  0.42
{txt}158{col 22}|{res}  0.183{col 35}  0.077     0.290{col 60}  0.42
{txt}159{col 22}|{res}  0.337{col 35}  0.235     0.439{col 60}  0.42
{txt}160{col 22}|{res} -0.377{col 35} -0.477    -0.277{col 60}  0.43
{txt}161{col 22}|{res}  0.153{col 35}  0.029     0.277{col 60}  0.41
{txt}162{col 22}|{res} -0.012{col 35} -0.138     0.113{col 60}  0.41
{txt}163{col 22}|{res} -0.034{col 35} -0.159     0.092{col 60}  0.41
{txt}164{col 22}|{res}  0.143{col 35}  0.032     0.254{col 60}  0.42
{txt}165{col 22}|{res}  0.002{col 35} -0.110     0.114{col 60}  0.42
{txt}166{col 22}|{res} -0.037{col 35} -0.149     0.075{col 60}  0.42
{txt}167{col 22}|{res}  0.151{col 35}  0.073     0.230{col 60}  0.44
{txt}168{col 22}|{res}  0.290{col 35}  0.214     0.366{col 60}  0.44
{txt}169{col 22}|{res} -0.354{col 35} -0.428    -0.279{col 60}  0.44
{txt}170{col 22}|{res}  0.118{col 35}  0.010     0.226{col 60}  0.42
{txt}171{col 22}|{res}  0.230{col 35}  0.124     0.335{col 60}  0.42
{txt}172{col 22}|{res}  0.344{col 35}  0.242     0.445{col 60}  0.42
{txt}173{col 22}|{res}  0.289{col 35}  0.186     0.393{col 60}  0.42
{txt}174{col 22}|{res}  0.315{col 35}  0.212     0.418{col 60}  0.42
{txt}175{col 22}|{res}  0.355{col 35}  0.253     0.456{col 60}  0.42
{txt}176{col 22}|{res}  0.342{col 35}  0.240     0.443{col 60}  0.42
{txt}177{col 22}|{res}  0.145{col 35}  0.003     0.288{col 60}  0.40
{txt}178{col 22}|{res}  0.160{col 35}  0.018     0.303{col 60}  0.40
{txt}179{col 22}|{res}  0.471{col 35}  0.132     0.810{col 60}  0.24
{txt}180{col 22}|{res}  0.598{col 35}  0.270     0.925{col 60}  0.25
{txt}181{col 22}|{res}  0.365{col 35}  0.007     0.723{col 60}  0.23
{txt}182{col 22}|{res}  0.539{col 35}  0.194     0.883{col 60}  0.24
{txt}183{col 22}|{res}  0.514{col 35}  0.156     0.872{col 60}  0.23
{txt}184{col 22}|{res}  0.509{col 35}  0.149     0.868{col 60}  0.23
{txt}185{col 22}|{res}  0.485{col 35}  0.120     0.850{col 60}  0.23
{txt}186{col 22}|{res}  0.398{col 35}  0.024     0.773{col 60}  0.22
{txt}187{col 22}|{res}  0.611{col 35}  0.287     0.934{col 60}  0.25
{txt}188{col 22}|{res}  0.530{col 35}  0.184     0.877{col 60}  0.24
{txt}189{col 22}|{res}  0.477{col 35}  0.117     0.836{col 60}  0.23
{txt}190{col 22}|{res}  0.462{col 35}  0.100     0.825{col 60}  0.23
{txt}191{col 22}|{res}  0.424{col 35}  0.054     0.794{col 60}  0.22
{txt}192{col 22}|{res}  0.494{col 35}  0.139     0.850{col 60}  0.23
{txt}193{col 22}|{res}  0.555{col 35}  0.214     0.895{col 60}  0.24
{txt}194{col 22}|{res}  0.385{col 35}  0.008     0.762{col 60}  0.22
{txt}195{col 22}|{res}  0.264{col 35}  0.159     0.369{col 60}  0.42
{txt}196{col 22}|{res}  0.251{col 35}  0.145     0.356{col 60}  0.42
{txt}197{col 22}|{res}  0.285{col 35}  0.181     0.390{col 60}  0.42
{txt}198{col 22}|{res}  0.290{col 35}  0.185     0.394{col 60}  0.42
{txt}199{col 22}|{res}  0.337{col 35} -0.048     0.721{col 60}  0.21
{txt}200{col 22}|{res}  0.577{col 35}  0.243     0.911{col 60}  0.25
{txt}201{col 22}|{res}  0.477{col 35}  0.117     0.836{col 60}  0.23
{txt}202{col 22}|{res}  0.265{col 35} -0.129     0.659{col 60}  0.21
{txt}203{col 22}|{res}  0.412{col 35}  0.039     0.784{col 60}  0.22
{txt}204{col 22}|{res}  0.361{col 35} -0.020     0.742{col 60}  0.22
{txt}205{col 22}|{res}  0.486{col 35}  0.129     0.843{col 60}  0.23
{txt}206{col 22}|{res}  0.450{col 35}  0.085     0.815{col 60}  0.23
{txt}207{col 22}|{res}  0.345{col 35} -0.039     0.728{col 60}  0.22
{txt}208{col 22}|{res}  0.121{col 35}  0.008     0.235{col 60}  0.42
{txt}209{col 22}|{res}  0.244{col 35}  0.133     0.355{col 60}  0.42
{txt}210{col 22}|{res}  0.150{col 35}  0.037     0.263{col 60}  0.42
{txt}211{col 22}|{res}  0.121{col 35}  0.008     0.235{col 60}  0.42
{txt}212{col 22}|{res}  0.100{col 35} -0.014     0.214{col 60}  0.42
{txt}213{col 22}|{res}  0.162{col 35}  0.049     0.275{col 60}  0.42
{txt}214{col 22}|{res}  0.121{col 35}  0.008     0.235{col 60}  0.42
{txt}215{col 22}|{res}  0.116{col 35}  0.002     0.229{col 60}  0.42
{txt}216{col 22}|{res}  0.127{col 35}  0.014     0.241{col 60}  0.42
{txt}217{col 22}|{res}  0.127{col 35}  0.014     0.241{col 60}  0.42
{txt}218{col 22}|{res}  0.133{col 35}  0.020     0.246{col 60}  0.42
{txt}219{col 22}|{res}  0.269{col 35} -0.095     0.632{col 60}  0.23
{txt}220{col 22}|{res}  0.382{col 35}  0.005     0.760{col 60}  0.22
{txt}221{col 22}|{res} -0.152{col 35} -0.235    -0.069{col 60}  0.43
{txt}222{col 22}|{res} -0.096{col 35} -0.177    -0.014{col 60}  0.44
{txt}223{col 22}|{res} -0.146{col 35} -0.266    -0.025{col 60}  0.41
{txt}224{col 22}|{res}  0.038{col 35} -0.088     0.163{col 60}  0.41
{txt}225{col 22}|{res} -0.168{col 35} -0.295    -0.041{col 60}  0.41
{txt}226{col 22}|{res} -0.162{col 35} -0.273    -0.051{col 60}  0.42
{txt}227{col 22}|{res}  0.004{col 35} -0.078     0.086{col 60}  0.44
{txt}228{col 22}|{res}  0.016{col 35} -0.118     0.150{col 60}  0.40
{txt}229{col 22}|{res} -0.042{col 35} -0.146     0.062{col 60}  0.42
{txt}230{col 22}|{res} -0.115{col 35} -0.199    -0.031{col 60}  0.43
{txt}231{col 22}|{res} -0.022{col 35} -0.151     0.107{col 60}  0.41
{txt}232{col 22}|{res} -0.102{col 35} -0.213     0.010{col 60}  0.42
{txt}233{col 22}|{res}  0.419{col 35} -0.074     0.913{col 60}  0.16
{txt}234{col 22}|{res}  0.404{col 35} -0.093     0.902{col 60}  0.16
{txt}235{col 22}|{res}  0.472{col 35} -0.181     1.125{col 60}  0.11
{txt}236{col 22}|{res}  0.478{col 35} -0.173     1.128{col 60}  0.11
{txt}237{col 22}|{res}  0.439{col 35}  0.366     0.512{col 60}  0.44
{txt}238{col 22}|{res}  0.513{col 35}  0.441     0.584{col 60}  0.44
{txt}239{col 22}|{res}  0.458{col 35}  0.384     0.532{col 60}  0.44
{txt}240{col 22}|{res}  0.527{col 35}  0.453     0.600{col 60}  0.44
{txt}241{col 22}|{res}  0.115{col 35} -0.028     0.258{col 60}  0.40
{txt}242{col 22}|{res}  0.115{col 35} -0.028     0.258{col 60}  0.40
{txt}243{col 22}|{res}  0.092{col 35} -0.062     0.246{col 60}  0.39
{txt}244{col 22}|{res} -0.084{col 35} -0.239     0.070{col 60}  0.39
{txt}245{col 22}|{res}  0.222{col 35}  0.055     0.388{col 60}  0.38
{txt}246{col 22}|{res}  0.170{col 35}  0.002     0.338{col 60}  0.38
{txt}247{col 22}|{res}  0.091{col 35}  0.013     0.169{col 60}  0.44
{txt}248{col 22}|{res}  0.091{col 35}  0.009     0.174{col 60}  0.44
{txt}249{col 22}|{res}  0.109{col 35}  0.031     0.187{col 60}  0.44
{txt}250{col 22}|{res}  0.137{col 35}  0.026     0.248{col 60}  0.42
{txt}251{col 22}|{res}  0.138{col 35}  0.027     0.250{col 60}  0.42
{txt}252{col 22}|{res}  0.127{col 35}  0.015     0.239{col 60}  0.42
{txt}253{col 22}|{res}  0.067{col 35} -0.048     0.183{col 60}  0.42
{txt}254{col 22}|{res}  0.065{col 35} -0.066     0.195{col 60}  0.41
{txt}255{col 22}|{res}  0.205{col 35}  0.078     0.333{col 60}  0.41
{txt}256{col 22}|{res}  0.097{col 35} -0.003     0.198{col 60}  0.43
{txt}257{col 22}|{res}  0.066{col 35} -0.035     0.167{col 60}  0.42
{txt}258{col 22}|{res}  0.036{col 35} -0.097     0.169{col 60}  0.40
{txt}259{col 22}|{res}  0.024{col 35} -0.109     0.157{col 60}  0.40
{txt}260{col 22}|{res}  0.115{col 35} -0.014     0.245{col 60}  0.41
{txt}261{col 22}|{res}  0.116{col 35} -0.014     0.245{col 60}  0.41
{txt}262{col 22}|{res}  0.091{col 35} -0.039     0.221{col 60}  0.41
{txt}263{col 22}|{res}  0.359{col 35}  0.199     0.519{col 60}  0.38
{txt}264{col 22}|{res}  0.197{col 35}  0.029     0.365{col 60}  0.38
{txt}265{col 22}|{res}  0.169{col 35}  0.010     0.328{col 60}  0.38
{txt}266{col 22}|{res}  0.145{col 35} -0.016     0.305{col 60}  0.38
{txt}267{col 22}|{res} -0.316{col 35} -0.494    -0.138{col 60}  0.37
{txt}268{col 22}|{res}  0.151{col 35} -0.034     0.337{col 60}  0.36
{txt}269{col 22}|{res}  0.061{col 35} -0.139     0.262{col 60}  0.35
{txt}270{col 22}|{res}  0.172{col 35} -0.015     0.360{col 60}  0.36
{txt}271{col 22}|{res} -0.146{col 35} -0.296     0.005{col 60}  0.39
{txt}272{col 22}|{res}  0.026{col 35} -0.176     0.228{col 60}  0.35
{txt}273{col 22}|{res}  0.061{col 35} -0.139     0.262{col 60}  0.35
{txt}274{col 22}|{res}  0.255{col 35}  0.033     0.476{col 60}  0.33
{txt}275{col 22}|{res}  0.083{col 35} -0.108     0.273{col 60}  0.36
{txt}276{col 22}|{res}  0.172{col 35} -0.015     0.360{col 60}  0.36
{txt}277{col 22}|{res}  0.145{col 35} -0.054     0.344{col 60}  0.35
{txt}278{col 22}|{res}  0.161{col 35}  0.011     0.312{col 60}  0.39
{txt}279{col 22}|{res}  0.146{col 35} -0.005     0.296{col 60}  0.39
{txt}280{col 22}|{res}  0.000{col 35} -0.161     0.161{col 60}  0.38
{txt}---------------------+---------------------------------------------------
D+L pooled ES{col 22}|{res}  0.208{col 35}  0.184     0.232{col 60}100.00
{txt}---------------------+---------------------------------------------------

  Heterogeneity chi-squared = {res}2281.07{txt} (d.f. = {res}279{txt}) p = {res}0.000
{txt}  I-squared (variation in ES attributable to heterogeneity) ={res}  87.8%
{txt}  Estimate of between-study variance Tau-squared = {res} 0.0341

{txt}  Test of ES=0 : z= {res} 16.65{txt} p = {res}0.000
{txt}
{com}. scalar tau2 = r(tau2)
{txt}
{com}. gen revarR = varR + tau2
{txt}
{com}. gen reseR = sqrt(revarR)
{txt}
{com}. gen reprecisionR = 1/reseR
{txt}
{com}. gen retstatR = r/reseR
{txt}
{com}. 
. // Random Effects with SE
. //This regression gives equal weight to each observation
. // TABLE 3 - Column 3
. regress retstatR reprecisionR,  vce(cluster id)

{txt}Linear regression                               Number of obs     = {res}       280
                                                {txt}F(1, 36)          =  {res}     4.72
                                                {txt}Prob > F          = {res}    0.0365
                                                {txt}R-squared         = {res}    0.0727
                                                {txt}Root MSE          =    {res} .88761

{txt}{ralign 78:(Std. Err. adjusted for {res:37} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    retstatR{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
reprecisionR {c |}{col 14}{res}{space 2}-.4002263{col 26}{space 2} .1842339{col 37}{space 1}   -2.17{col 46}{space 3}0.036{col 54}{space 4}-.7738699{col 67}{space 3}-.0265826
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 2.934834{col 26}{space 2} .8273986{col 37}{space 1}    3.55{col 46}{space 3}0.001{col 54}{space 4} 1.256792{col 67}{space 3} 4.612877
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. //This regression gives equal weight to each study
. // TABLE 3 - Column 4
. regress retstatR reprecisionR [pweight = weight], vce(cluster id)
{txt}(sum of wgt is   3.7000e+01)

Linear regression                               Number of obs     = {res}       280
                                                {txt}F(1, 36)          =  {res}     2.04
                                                {txt}Prob > F          = {res}    0.1616
                                                {txt}R-squared         = {res}    0.0336
                                                {txt}Root MSE          =    {res} 1.0476

{txt}{ralign 78:(Std. Err. adjusted for {res:37} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    retstatR{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
reprecisionR {c |}{col 14}{res}{space 2}-.2725868{col 26}{space 2} .1907355{col 37}{space 1}   -1.43{col 46}{space 3}0.162{col 54}{space 4}-.6594163{col 67}{space 3} .1142426
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 2.519756{col 26}{space 2} .8511735{col 37}{space 1}    2.96{col 46}{space 3}0.005{col 54}{space 4} .7934966{col 67}{space 3} 4.246016
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. 
. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}\\file\UsersW$\wrr15\Home\My Documents\My Files\ANDY KIM\REVISION FOR WORLD DEVELOPMENT\DATA AND CODE\Part1.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}18 Jul 2016, 21:55:09
{txt}{.-}
{smcl}
{txt}{sf}{ul off}